
export function getS(time) {
    var hour = time.split(":")[0];
    var min = time.split(":")[1];
    var sec = time.split(":")[2];
    var s = (parseFloat(hour * 3600) + parseFloat(min * 60) + parseFloat(sec)).toFixed(
        3
    );
    return s;
}
